package com.qingke.Imp;

import com.saozhu.command.CustomerCommand;
import com.saozhu.pojo.Customer;
import com.saozhu.utils.Console;

public class CustomerHelpCommand extends CustomerCommand {

	public CustomerHelpCommand(Customer customer) {
		super(customer);
	}

	@Override
	public void execute() {

		StringBuffer buffer = new StringBuffer("This is a command list:"+Console.NEW_LINE);
		buffer.append("exits------Exit").append(Console.NEW_LINE);
		buffer.append("help------Get command list").append(Console.NEW_LINE);
		buffer.append("new------build a new order").append(Console.NEW_LINE);
		buffer.append("pay------pay for your order").append(Console.NEW_LINE);
		buffer.append("show------show your all showcommand").append(Console.NEW_LINE);
		buffer.append("    <-owner><-order><-goods>").append(Console.NEW_LINE);
		Console.print(buffer.toString());
		
	}

}
